package com.hsy.crm.web.domain.entity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 库存
 */
@Table(name = "t_store_product")
public class StoreProduct extends BaseEntity{

    @Column(length = 19)
    private Long productId;

    @Column(length = 19)
    private Long storeId;

    @Column(length = 19)
    private Long unitId;

    @Column(length = 19)
    private Long companyId;

    /**
     * 库存总量
     */
    @Column(length = 11)
    private Long number;

    /**
     * 库存总额
     */
    @Column(length = 19)
    private Long price;

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

}
